package com.cl.short_video_java.vo.user;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author 付
 * @Date 2024-11-11 14:25
 * @Version 1.0
 * @description 后台添加用户
 * @since 1.0
 */
@Data
public class AddUserAdmin {
	private Integer id;
	@NotEmpty(message = "抱歉，账号不能为空")
	private String username;
	@NotEmpty(message = "抱歉，密码不能为空")
	private String password;
	private String nickname;
	private Integer status;
	private Integer level;
	private String phone;
	private String email;
	private String avatar;
	private LocalDateTime birth;
	private String address;
}
